package gupao_edu_spring_beans.beans.factory;

import gupao_edu_spring_beans.beans.factory.config.MYBeanPostProcessor;

/**
 * @ClassName:
 * @Description:
 * @Auther: zhouych
 * @Date: 2019/5/8 17:44
 */
public interface MYBeanFactory {

    /**
     * 根据beanName获取IOC容器中的bean实例
     * @param beanName
     * @return
     * @throws Exception
     */
    Object getBean(String beanName) throws Exception;

    void addBeanPostProcessor(MYBeanPostProcessor myDefaultBeanPostProcessor);
}
